package com.sys.common.config;

import lombok.AllArgsConstructor;
import org.apache.shiro.authc.AuthenticationToken;

/**
 * 功能
 *
 * @author zjf
 * @date 2021/04/01
 */
@AllArgsConstructor
public class JwtToken  implements AuthenticationToken {

    private String jwt;


    @Override
    public Object getPrincipal() {
        return jwt;
    }

    @Override
    public Object getCredentials() {
        return jwt;
    }
}
